cmake_minimum_required(VERSION 3.10)

project(rtmpServer)

set(CMAKE_CXX_STANDARD 11)
add_compile_options(-Wall -Wextra)

file(GLOB SRC_LIST *.cpp *.h ./xop/*.cpp ./xop/*.h ./net/*.cpp ./net/*.h)

# 生成可执行文件
add_executable(rtmpServer ${SRC_LIST})

target_link_libraries(rtmpServer pthread)
